﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ModuleITDesk.DAL;
using ModuleITDesk.DAL.Model;
namespace ModuleITDesk.BLL
{
    public class BLLProject
    {
        DALProject ProjectDAL = new DALProject();
        public List<Project> GetProjectList()
        {
            return ProjectDAL.GetProjectList();
        }
        public List<Project> GetProjectListByUserID(int UserID)
        {
            return ProjectDAL.GetProjectListByUserId(UserID);
        }
        public bool InsertProject(Project projects)
        {
            return ProjectDAL.InsertProject(projects);
        }
        public bool UpdateProject(Project projects)
        {
            return ProjectDAL.UpdateProject(projects);
        }
        public bool DeleteProject(Project projects)
        {
            return ProjectDAL.DeleteProject(projects);
        }
    }
}
